package org.misalen.web.server.forms.user;

import java.util.Date;

import javax.persistence.Column;

import org.misalen.annotations.ModelComment;
import org.misalen.validate.annotation.Required;

public class AdverOrderAddForm {
	
	@Required
	@ModelComment("广告名称")
	private String orderName;
	
	@Required
	@ModelComment("推广数量")
	@Column(name = "orderNum")
	private Integer orderNum;
	
	@Required
	@ModelComment("归属用户")
	private String userId;

	@Required
	@ModelComment("开始日期")
	private Date startDate;

	@Required
	@ModelComment("结束日期")
	private Date stopDate;

	@Required
	@ModelComment("广告费用")
	private Integer orderAmount;

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getStopDate() {
		return stopDate;
	}

	public void setStopDate(Date stopDate) {
		this.stopDate = stopDate;
	}

	public Integer getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(Integer orderAmount) {
		this.orderAmount = orderAmount;
	}
}
